<script>/*脚本模板作者:QQ大冰:2972204092。请勿随意改动，后果自负*/
var bpm = 340.9090909090909;
var ming = "囍";
/*可以加我个人群QQ群号：227697205 更多多功能白嫖脚本，脚本相关运行问题也可找我*/
var yc = 60 / bpm * 1000;
var jp = 100;
var window1 = floaty.rawWindow(`<vertical bg="#77005588"><text id="QQ大冰" textStyle="bold" text="脚本模板作者:" textSize="17sp" textColor="#fcfcfc"/><text id="QQ大冰1" textStyle="bold" text="QQ大冰2972204092" textSize="17sp" textColor="#fcfcfc"/><text id="QQ大冰2" textStyle="bold" text="个人群:227697205" textSize="17sp" textColor="#fcfcfc"/></vertical>`);
window1.exitOnClose();
window1.setTouchable(false);
var yincang = 1;
var tt = window1.QQ大冰1.getText();
var td = 0;
if (currentPackage().search("com.netease.wyclx") == 0) {
    td = 1;
}
;
if (currentPackage().search("com.tencent.tmgp.wuxia") == 0) {
    td = 1;
}
;
var window0 = floaty.rawWindow(`<vertical bg="#77005588"><seekbar id="seek" margin="8 6 8 6" gravity="center" /><text text="0/0" textStyle="bold" textColor='#fcfcfc' gravity="center" marginBottom='0' paddingTop='0' marginTop='-12' marginLeft='0'textSize="16sp" id="jd"/></vertical>`);
var U2 = 0;
window0.exitOnClose();
var fhiv = engines.myEngine().cwd();
window0.seek.setMax(100);
var Y24 = "" + U2;
function timeSum(p) {
    let timeTotal = 0;
    for (var i = 0; i < p; i++) {
        switch (sheet[i]) {
            case "Y1();":
                timeTotal += yc / jp * 100 * 16;
                break;
            case "Y2();":
                timeTotal += yc / jp * 100 * 8;
                break;
            case "Y4();":
                timeTotal += yc / jp * 100 * 4;
                break;
            case "Y8();":
                timeTotal += yc / jp * 100 * 2;
                break;
            case "Y16();":
                timeTotal += yc / jp * 100;
                break;
            case "Y32();":
                timeTotal += yc / jp * 100 / 2;
                break;
            case "Y64();":
                timeTotal += yc / jp * 100 / 4;
                break;
        }
    }
    ;
    let minute = 0;
    let second = timeTotal / 880;
    if (second > 60) {
        minute = parseInt(second / 60);
        second = second % 60;
    }
    ;
    return minute.toFixed(0) + ":" + second.toFixed(0)
}
;
window0.seek.setOnSeekBarChangeListener(new android.widget.SeekBar.OnSeekBarChangeListener({
    onProgressChanged: function (sb, p) {
        progressNow = p;
        window0.jd.setText(timeSum(p) + "/" + timeSum(sb.getMax()));
    }
}));
var rr = window1.QQ大冰2.getText();
var progressNow = 0;
var window9 = floaty.rawWindow(`<vertical><text id="tex3" textStyle="bold" text="当前演奏:" padding="0 0 0 0" gravity="top|left" textSize="17sp" textColor="#33bbee"/><text id="te" textStyle="bold" padding="0 0 0 0" gravity="top|left" textSize="17sp" textColor="#44ccff"/></vertical>`);
window9.setTouchable(false);
var ttu = window1.QQ大冰.getText() + "\n" + window1.QQ大冰1.getText() + "\n" + window1.QQ大冰2.getText();
window9.exitOnClose();
var dth = fhiv + "/" + files.getNameWithoutExtension(engines.myEngine().getSource()) + ".js";
ui.run(function () {
    window9.te.setText(dynamicText2());
});
function dynamicText2() {
    var str = util.format(ming);
    return str;
}
;
var fuf = tt.match(/[0-9][0-9]*/g);
function Y2() {
    while (zt != 1) {
        sleep(yc / jp * 100 * 8)
    }
    ;
    sleep(yc / jp * 100 * 8)
}
;
function Y8() {
    while (zt != 1) {
        sleep(yc / jp * 100 * 2)
    }
    ;
    sleep(yc / jp * 100 * 2);
}
;
var window5 = floaty.rawWindow(`<frame><text id="sudu1" textStyle="bold" textSize="17sp" padding="0 0 0 0" gravity="top|left" textColor="#44ccff"/></frame>`);
window5.exitOnClose();
window5.setTouchable(false);
var window11 = floaty.rawWindow(`<frame w='10'h='10'><button id="jian" textStyle="bold" text='⊙' padding="0 0 0 0" gravity="center" textSize="11sp" textColor='#ffffff'bg="#ffFF0000"/></frame>`);
window11.exitOnClose();
window11.setTouchable(false);
ui.run(function () {
    window5.sudu1.setText(dynamicText());
});
function dynamicText() {
    var str = util.format("曲速：" + jp + ",原速：100");
    return str;
}
;
var tgf = rr.match(/[0-9][0-9]*/g);
function Y64() {
    while (zt != 1) {
        sleep(yc / jp * 100 / 4)
    }
    ;
    sleep(yc / jp * 100 / 4)
}
;
function B2() {
    if (td == 0) {
        press(jianx + jianxx, jiany + jianyy, 1)
    }
    ;
    if (td == 1) {
        press(jianx - jianxx * 2, jiany, 1)
    }
    ;
}
;
function Y128() {
    while (zt != 1) {
        sleep(yc / jp * 100)
    }
    ;
    sleep(yc / jp * 100)
}
;
var window6 = floaty.rawWindow(`<frame><text id="jiasu" textStyle="bold" padding="0 0 0 0" gravity="center" bg="#77005588" textSize="17sp" textColor='#fcfcfc' text="快"/></frame>`);
window6.exitOnClose();
var cjug = dth;
function B4() {
    if (td == 0) {
        press(jianx - jianxx * 2, jiany + jianyy * 2, 1)
    }
    ;
    if (td == 1) {
        press(jianx, jiany, 1)
    }
    ;
}
;
var ygfu = tgf;
var speed=yc / jp * 100
function sleepN(t) {
    while (zt != 1) sleep(speed/t);sleep(speed/t)
}
Y32=()=>sleepN(2)
Y1=()=>sleepN(16)
function Y32() {
    while (zt != 1) {
        sleep(yc / jp * 100 / 2)
    }
    ;
    sleep(yc / jp * 100 / 2)
}
;
var dhyv = fuf;
function B5() {
    if (td == 0) {
        press(jianx - jianxx, jiany + jianyy * 2, 1)
    }
    ;
    if (td == 1) {
        press(jianx + jianxx, jiany, 1)
    }
    ;
}
function B5() {
    td==0?
        press(jianx - jianxx, jiany + jianyy * 2, 1):
        press(jianx + jianxx, jiany, 1)
}
;
function A2() {
    if (td == 0) {
        press(jianx - jianxx, jiany, 1)
    }
    ;
    if (td == 1) {
        press(jianx - jianxx * 2, jiany + jianyy, 1)
    }
    ;
}
;
function B6() {
    if (td == 0) {
        press(jianx, jiany + jianyy * 2, 1)
    }
    ;
    if (td == 1) {
        press(jianx + jianxx * 2, jiany, 1)
    }
    ;
}
;
var window3 = floaty.rawWindow(`<frame><text id="yuan" padding="0 0 0 0" textStyle="bold" gravity="center" bg="#77005588" textSize="17sp" textColor='#fcfcfc' text="原"/></frame>`);
window3.exitOnClose();
var cgu = cjug;
function A7() {
    if (td == 0) {
        press(jianx - jianxx, jiany + jianyy, 1)
    }
    ;
    if (td == 1) {
        press(jianx + jianxx * 3, jiany + jianyy, 1)
    }
    ;
}
;
var ojf = dhyv;
function Y4() {
    while (zt != 1) {
        sleep(yc / jp * 100 * 4)
    }
    ;
    sleep(yc / jp * 100 * 4)
}
;
;
function B7() {
    if (td == 0) {
        press(jianx + jianxx, jiany + jianyy * 2, 1)
    }
    ;
    if (td == 1) {
        press(jianx + jianxx * 3, jiany, 1)
    }
    ;
}
function A4() {
    if (td == 0) {
        press(jianx + jianxx, jiany, 1)
    }
    ;
    if (td == 1) {
        press(jianx, jiany + jianyy, 1)
    }
    ;
}
;
function Y16() {
    while (zt != 1) {
        sleep(yc / jp * 100)
    }
    ;
    sleep(yc / jp * 100)
}
;
var Y3 = ttu;
var window7 = floaty.rawWindow(`<frame><text id="jiansu" textStyle="bold" padding="0 0 0 0" gravity="center" bg="#77005588" textSize="17sp" textColor='#fcfcfc' text="慢"/></frame>`);
window7.exitOnClose();
window6.jiasu.click(() => {
    if (jp < 150) {
        jp = jp + 5;
    }
    ui.run(function () {
        window5.sudu1.setText(dynamicText());
    });
});
window7.jiansu.click(() => {
    if (jp > 50) {
        jp = jp - 5;
    }

    ui.run(function () {
        window5.sudu1.setText(dynamicText());
    });
});
function Y1() {
    while (zt != 1) {
        sleep(yc / jp * 100 * 16)
    }
    ;
    sleep(yc / jp * 100 * 16)
}
;
function Y5() {
    while (zt != 1) {
        sleep(100 / jp * 100)
    }
    ;
    sleep(100 / jp * 100);
}
;
var window2 = floaty.rawWindow(`<frame><button id="bn" textStyle="bold" text='结束' padding="0 0 0 0" gravity="center" textSize="17sp" textColor='#fcfcfc' bg="#77005588"/></frame>`);
window2.exitOnClose();
function whn() {
    if (yincang == 0) {
        exit();
    } else {
        sleep(500);
    }
}
;
var ifr4t = cgu;
function B3() {
    if (td == 0) {
        press(jianx + jianxx * 2, jiany + jianyy, 1)
    }
    ;
    if (td == 1) {
        press(jianx - jianxx, jiany, 1)
    }
    ;
}
;
var gyir = ygfu;
function A1() {
    if (td == 0) {
        press(jianx - jianxx * 2, jiany, 1)
    }
    ;
    if (td == 1) {
        press(jianx - jianxx * 3, jiany + jianyy, 1)
    }
    ;
}
;
function B1() {
    if (td == 0) {
        press(jianx, jiany + jianyy, 1)
    }
    ;
    if (td == 1) {
        press(jianx - jianxx * 3, jiany, 1)
    }
    ;
}
;
function A3() {
    if (td == 0) {
        press(jianx, jiany, 1)
    }
    ;
    if (td == 1) {
        press(jianx - jianxx, jiany + jianyy, 1)
    }
    ;
}
;
var Y24 = Y3.match(/[0-9][0-9]*/g);
function C1() {
    if (td == 0) {
        press(jianx + jianxx * 2, jiany + jianyy * 2, 1)
    }
    ;
    if (td == 1) {
        press(jianx + jianxx * 3, jiany, 1)
    }
    ;
}
;
toastLog(Y3);
sheet = ["sleep(y5n);", "A4();" + "B1();" + "B6();", "Y4();", "Y4();", "A5();" + "B2();", "Y4();", "C1();", "Y4();", "A6();" + "B3();", "Y4();", "Y4();", "Y4();", "A5();" + "B2();", "Y4();", "A4();" + "B1();" + "B6();", "Y4();", "Y4();", "A5();" + "B2();", "Y4();", "C1();", "Y4();", "A6();" + "B3();" + "B6();", "Y4();", "Y4();", "Y4();", "Y4();", "A1();" + "A4();" + "B1();", "Y8();", "A7();", "Y16();", "A6();", "Y16();", "A7();", "Y4();", "A2();" + "A5();" + "B1();", "Y8();", "A7();", "Y16();", "A6();", "Y16();", "A7();", "Y4();", "A3();" + "A6();" + "B1();", "Y8();", "A7();", "Y8();", "A6();", "Y4();", "Y4();", "A2();" + "A5();", "Y4();", "A1();" + "A4();" + "B1();", "Y8();", "A7();", "Y16();", "A6();", "Y16();", "A7();", "Y4();", "A2();" + "A5();" + "B1();", "Y8();", "A7();", "Y16();", "A6();", "Y16();", "A7();", "Y4();", "A3();" + "A6();" + "A6();", "Y8();", "A5();", "Y8();", "B3();", "Y4();", "Y4();", "A2();" + "A5();", "Y4();", "A1();" + "A4();" + "B5();", "Y8();", "B3();", "Y16();", "B2();", "Y16();", "B3();", "Y4();", "A2();" + "A5();" + "B5();", "Y8();", "B3();", "Y16();", "B2();", "Y16();", "B3();", "Y4();", "A3();" + "A6();" + "B5();", "Y8();", "B3();", "Y16();", "B2();", "Y8();", "Y16();", "A6();", "Y4();", "Y8();", "A2();" + "A5();", "Y4();", "A1();" + "A4();" + "B6();", "Y8();", "B5();", "Y16();", "B3();", "Y16();", "A6();", "Y4();", "A2();" + "A5();" + "B6();", "Y8();", "B5();", "Y16();", "B3();", "Y16();", "A6();", "Y4();", "A3();" + "A6();" + "B6();", "Y8();", "B5();", "Y4();", "B3();", "Y8();", "A6();", "Y4();", "Y4();", "A1();" + "A4();" + "B1();", "Y16();", "A7();", "Y16();", "A6();", "Y16();", "A7();", "Y16();", "B1();", "Y16();", "A7();", "Y16();", "B1();", "Y16();", "A7();", "Y16();", "A2();" + "A5();" + "B1();", "Y16();", "A7();", "Y16();", "A6();", "Y16();", "A7();", "Y16();", "B1();", "Y16();", "A7();", "Y16();", "A6();", "Y16();", "A7();", "Y16();", "A3();" + "A6();", "Y16();", "A7();", "Y4();", "A7();", "Y16();", "A7();", "Y16();", "A7();", "Y16();", "B1();", "Y16();", "A7();", "Y16();", "A6();", "Y16();", "A7();", "Y16();", "B1();", "Y16();", "A7();", "Y16();", "B1();", "Y8();", "A1();" + "A4();" + "B1();", "Y16();", "A7();", "Y16();", "A6();", "Y16();", "A7();", "Y16();", "B1();", "Y16();", "A7();", "Y16();", "B1();", "Y16();", "A7();", "Y16();", "A2();" + "A5();" + "B1();", "Y16();", "A7();", "Y16();", "B1();", "Y16();", "A7();", "Y8();", "B2();", "Y16();", "B2();", "Y16();", "A7();", "Y16();", "A3();" + "A6();" + "B2();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y8();", "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A7();", "Y16();", "B3();", "Y8();", "B3();", "Y16();", "B2();", "Y16();", "B3();", "Y16();", "B2();", "Y16();", "A1();" + "A4();" + "B3();", "Y16();", "B2();", "Y8();", "B2();", "Y16();", "B3();", "Y16();", "B2();", "Y16();", "B2();", "Y16();", "B3();", "Y16();", "A2();" + "A5();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "B2();", "Y16();", "B2();", "Y16();", "B3();", "Y16();", "B2();", "Y16();", "A7();", "Y16();", "A3();" + "A6();" + "B2();", "Y16();", "B3();", "Y16();", "B3();", "Y8();", "B3();", "Y8();", "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A7();", "Y16();", "B3();", "Y8();", "B2();", "Y16();", "B3();", "Y16();", "B2();", "Y16();", "A7();", "Y16();", "A1();" + "A4();" + "B1();", "Y16();", "A6();", "Y8();", "A6();", "Y16();", "A6();", "Y16();", "A6();", "Y16();", "B1();", "Y16();", "A7();", "Y16();", "A2();" + "A5();" + "A6();", "Y16();", "A7();", "Y16();", "A6();", "Y16();", "A7();", "Y16();", "B1();", "Y8();", "A6();", "Y16();", "A7();", "Y16();", "A3();" + "A6();", "Y16();", "B3();" + "B6();", "Y8();", "B3();" + "B6();", "Y8();", "B2();" + "B5();", "Y8();", "B3();" + "B6();", "Y8();", "B1();" + "B6();", "Y16();", "B1();" + "B6();", "Y16();", "A7();" + "B5();", "Y16();", "B1();" + "B6();", "Y16();", "A7();" + "B5();", "Y16();", "A6();" + "B3();", "Y8();", "A4();" + "B1();" + "C1();", "Y16();", "C1();", "Y16();", "C1();", "Y16();", "C1();", "Y16();", "C1();", "Y16();", "C1();", "Y16();", "B7();", "Y16();", "B6();", "Y16();", "A5();" + "B2();", "Y4();", "Y4();", "A6();" + "B3();", "Y4();", "Y4();", "Y4();", "Y4();", "A4();" + "B1();", "Y4();", "Y4();", "A5();" + "B2();", "Y4();", "Y4();", "A6();" + "B3();", "Y4();", "Y4();", "Y4();", "Y4();", "A1();" + "A4();", "Y4();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "B3();", "Y16();", "B2();", "Y16();", "B1();", "Y16();", "B2();", "Y16();", "B2();", "Y16();", "A6();", "Y8();", "A3();" + "A6();" + "B1();", "Y8();", "B2();", "Y4();", "B6();", "Y4();", "B6();", "Y8();", "Y16();", "B2();", "Y16();", "B2();", "Y16();", "B1();", "Y16();", "A1();" + "A4();" + "B2();", "Y8();", "B1();", "Y16();", "A6();", "Y16();", "A1();" + "A4();", "Y16();", "B2();", "Y16();", "B2();", "Y16();", "B1();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "B2();", "Y16();", "B2();", "Y16();", "B3();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "B1();", "Y16();", "A6();", "Y8();", "A3();" + "A6();" + "B5();", "Y16();", "B5();", "Y16();", "A3();" + "A6();" + "B6();", "Y16();", "B6();", "Y16();", "A3();" + "A6();" + "B6();", "Y16();", "B6();", "Y16();", "A3();" + "A6();" + "B2();", "Y16();", "B2();", "Y16();", "A3();" + "A6();" + "B2();", "Y16();", "B2();", "Y16();", "A3();" + "A6();" + "B2();", "Y16();", "B3();", "Y16();", "A3();" + "A6();" + "B2();", "Y16();", "B1();", "Y16();", "B3();", "Y8();", "A1();" + "A4();" + "B6();", "Y16();", "A1();" + "A4();" + "B6();", "Y16();", "A1();" + "A4();" + "B6();", "Y16();", "A1();" + "A4();" + "B6();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "B3();", "Y16();", "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B6();", "Y16();", "A3();" + "A6();" + "B6();", "Y16();", "B6();", "Y16();", "A6();" + "B6();", "Y16();", "A3();" + "B6();", "Y16();", "B6();", "Y16();", "A5();" + "B6();", "Y16();", "B6();", "Y16();", "A1();" + "A4();" + "B6();", "Y16();", "A1();" + "A4();" + "B6();", "Y16();", "A1();" + "A4();" + "B6();", "Y16();", "A1();" + "A4();" + "B6();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "B3();", "Y16();", "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B7();", "Y16();", "A3();" + "A6();" + "B7();", "Y16();", "B7();", "Y16();", "A3();" + "A6();" + "B7();", "Y16();", "A3();" + "B6();", "Y16();", "B6();", "Y16();", "A5();" + "B6();", "Y16();", "B6();", "Y16();", "A1();" + "A4();" + "A6();", "Y16();", "A1();" + "A4();" + "A6();", "Y16();", "A1();" + "A4();" + "B2();", "Y16();", "A1();" + "A4();" + "B2();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "B3();", "Y16();", "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B6();", "Y16();", "A3();" + "A6();" + "B6();", "Y16();", "B6();", "Y16();", "A3();" + "A6();" + "B6();", "Y16();", "A3();" + "B6();", "Y16();", "B6();", "Y16();", "A5();" + "B6();", "Y16();", "B6();", "Y16();", "A1();" + "A4();" + "B6();", "Y16();", "A1();" + "A4();" + "B6();", "Y16();", "A1();" + "A4();" + "B3();", "Y16();", "A1();" + "A4();" + "B3();", "Y16();", "B2();", "Y16();", "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "B2();", "Y16();", "A7();", "Y16();", "A2();" + "A5();" + "A7();", "Y16();", "A2();" + "A5();" + "B1();", "Y16();", "A2();" + "A5();" + "A7();", "Y16();", "A3();" + "A6();" + "A6();", "Y16();", "A3();" + "A6();", "Y16();", "A3();" + "A6();", "Y16();", "A3();" + "A6();", "Y4();", "A3();" + "A6();", "Y8();", "A3();" + "A6();", "Y8();", "A3();" + "A6();", "Y16();", "A3();", "Y8();", "A5();", "Y8();", "A1();" + "A4();" + "B2();", "Y8();", "B3();", "Y8();", "B5();", "Y8();", "B6();", "Y8();", "A2();" + "A5();", "Y8();", "B2();", "Y4();", "A7();", "Y8();", "A3();" + "A6();", "Y4();", "Y4();", "Y4();", "Y4();", "A1();" + "A4();", "Y4();", "Y16();", "B2();", "Y16();", "B2();", "Y16();", "A7();", "Y16();", "A2();" + "A5();" + "B3();", "Y8();", "B2();", "Y8();", "B2();", "Y8();", "B1();", "Y8();", "A3();" + "A6();" + "B2();", "Y8();", "B3();", "Y8();", "B3();", "Y4();", "Y4();", "Y4();", "A1();" + "A4();" + "B2();", "Y8();", "B3();", "Y8();", "B2();", "Y8();", "B1();", "Y8();", "A2();" + "A5();" + "A6();", "Y8();", "B1();", "Y16();", "A6();", "Y16();", "A5();", "Y8();", "A3();", "Y8();", "A3();" + "A6();", "Y4();", "Y8();", "B1();", "Y8();", "B2();", "Y8();", "B1();", "Y8();", "A6();", "Y8();", "A5();", "Y8();", "A1();" + "A4();", "Y4();", "B1();", "Y8();", "B2();", "Y16();", "B3();", "Y16();", "A2();" + "A5();" + "A6();", "Y8();", "A5();", "Y4();", "Y8();", "A3();" + "A6();", "Y4();", "A6();", "Y8();", "A5();", "Y16();", "A3();", "Y16();", "A6();", "Y4();", "Y4();", "A1();" + "A4();", "Y4();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "B3();", "Y16();", "B2();", "Y16();", "B1();", "Y16();", "B2();", "Y16();", "B2();", "Y16();", "A6();", "Y8();", "A3();" + "A6();" + "B1();", "Y8();", "B2();", "Y4();", "B6();", "Y4();", "B6();", "Y8();", "Y16();", "B2();", "Y16();", "B2();", "Y16();", "B1();", "Y16();", "A1();" + "A4();" + "B2();", "Y8();", "B1();", "Y16();", "A6();", "Y16();", "A1();" + "A4();", "Y16();", "B2();", "Y16();", "B2();", "Y16();", "B1();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "B2();", "Y16();", "B2();", "Y16();", "B3();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "B1();", "Y16();", "A6();", "Y8();", "A3();" + "A6();" + "B5();", "Y16();", "B5();", "Y16();", "A3();" + "A6();" + "B6();", "Y16();", "B6();", "Y16();", "A3();" + "A6();" + "B6();", "Y16();", "B6();", "Y16();", "A3();" + "A6();" + "B2();", "Y16();", "B2();", "Y16();", "A3();" + "A6();" + "B2();", "Y16();", "B2();", "Y16();", "A3();" + "A6();" + "B2();", "Y16();", "B3();", "Y16();", "A3();" + "A6();" + "B2();", "Y16();", "B1();", "Y16();", "B3();", "Y8();", "A1();" + "A4();" + "B6();", "Y16();", "A1();" + "A4();" + "B6();", "Y16();", "A1();" + "A4();" + "B6();", "Y16();", "A1();" + "A4();" + "B6();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "B3();", "Y16();", "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();" + "B5();", "Y16();", "A2();" + "A5();" + "B2();" + "B5();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B2();" + "B6();", "Y16();", "A3();" + "A6();" + "B2();" + "B6();", "Y16();", "B3();" + "B6();", "Y16();", "A6();" + "B3();" + "B6();", "Y16();", "A3();" + "B2();" + "B6();", "Y16();", "B2();" + "B6();", "Y16();", "A5();" + "B1();" + "B6();", "Y16();", "B1();" + "B6();", "Y16();", "A1();" + "A4();" + "B2();" + "B6();", "Y16();", "A1();" + "A4();" + "B2();" + "B6();", "Y16();", "A1();" + "A4();" + "B3();" + "B6();", "Y16();", "A1();" + "A4();" + "B3();" + "B6();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "B3();", "Y16();", "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B2();" + "B7();", "Y16();", "A3();" + "A6();" + "B2();" + "B7();", "Y16();", "B2();" + "B7();", "Y16();", "A6();" + "B2();" + "B7();", "Y16();", "A3();" + "B1();" + "B6();", "Y16();", "B1();" + "B6();", "Y16();", "A5();" + "B1();" + "B6();", "Y16();", "B1();" + "B6();", "Y16();", "A1();" + "A4();" + "A6();", "Y16();", "A1();" + "A4();" + "A6();", "Y16();", "A1();" + "A4();" + "B2();", "Y16();", "A1();" + "A4();" + "B2();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "B2();", "Y16();", "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B2();" + "B6();", "Y16();", "A3();" + "A6();" + "B2();" + "B6();", "Y16();", "B3();" + "B6();", "Y16();", "A6();" + "B3();" + "B6();", "Y16();", "A3();" + "B2();" + "B6();", "Y16();", "B2();" + "B6();", "Y16();", "A5();" + "B1();" + "B6();", "Y16();", "B1();" + "B6();", "Y16();", "A1();" + "A4();" + "B2();" + "B6();", "Y16();", "A1();" + "A4();" + "B2();" + "B6();", "Y16();", "A1();" + "A4();" + "B3();", "Y16();", "A1();" + "A4();" + "B3();", "Y16();", "B2();", "Y16();", "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "A6();" + "B2();", "Y16();", "A6();" + "B2();", "Y16();", "A7();", "Y16();", "A2();" + "A5();" + "A7();", "Y16();", "A2();" + "A5();" + "B1();", "Y16();", "A2();" + "A5();" + "A7();", "Y16();", "A3();" + "A6();" + "A6();", "Y16();", "A3();" + "A6();", "Y16();", "A3();" + "A6();", "Y16();", "A3();" + "A6();", "Y4();", "A3();" + "A6();", "Y8();", "A3();" + "A6();", "Y8();", "A6();", "Y16();", "A3();", "Y8();", "A5();", "Y8();", "A1();" + "A4();" + "B6();", "Y16();", "A1();" + "A4();" + "B6();", "Y16();", "A1();" + "A4();" + "B6();", "Y16();", "A1();" + "A4();" + "B6();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "B3();", "Y16();", "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();" + "B5();", "Y16();", "A2();" + "A5();" + "B2();" + "B5();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B2();" + "B6();", "Y16();", "A3();" + "A6();" + "B2();" + "B6();", "Y16();", "B3();" + "B6();", "Y16();", "A6();" + "B3();" + "B6();", "Y16();", "A3();" + "B2();" + "B6();", "Y16();", "B2();" + "B6();", "Y16();", "A5();" + "B1();" + "B6();", "Y16();", "B1();" + "B6();", "Y16();", "A1();" + "A4();" + "B2();" + "B6();", "Y16();", "A1();" + "A4();" + "B2();" + "B6();", "Y16();", "A1();" + "A4();" + "B3();" + "B6();", "Y16();", "A1();" + "A4();" + "B3();" + "B6();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "B3();", "Y16();", "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B2();" + "B7();", "Y16();", "A3();" + "A6();" + "B2();" + "B7();", "Y16();", "B2();" + "B7();", "Y16();", "A6();" + "B2();" + "B7();", "Y16();", "A3();" + "B1();" + "B6();", "Y16();", "B1();" + "B6();", "Y16();", "A5();" + "B1();" + "B6();", "Y16();", "B1();" + "B6();", "Y16();", "A1();" + "A4();" + "A6();", "Y16();", "A1();" + "A4();" + "A6();", "Y16();", "A1();" + "A4();" + "B2();", "Y16();", "A1();" + "A4();" + "B2();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "B2();", "Y16();", "B3();", "Y16();", "A2();" + "A5();" + "B3();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "B3();", "Y16();", "A3();" + "A6();" + "B3();", "Y16();", "B2();" + "B6();", "Y16();", "A3();" + "A6();" + "B2();" + "B6();", "Y16();", "B3();" + "B6();", "Y16();", "A6();" + "B3();" + "B6();", "Y16();", "A3();" + "B2();" + "B6();", "Y16();", "B2();" + "B6();", "Y16();", "A5();" + "B1();" + "B6();", "Y16();", "B1();" + "B6();", "Y16();", "A1();" + "A4();" + "B2();" + "B6();", "Y16();", "A1();" + "A4();" + "B2();" + "B6();", "Y16();", "A1();" + "A4();" + "B3();", "Y16();", "A1();" + "A4();" + "B3();", "Y16();", "B2();", "Y16();", "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "B2();", "Y16();", "A2();" + "A5();" + "A6();" + "B2();", "Y16();", "A6();" + "B2();", "Y16();", "A7();", "Y16();", "A2();" + "A5();" + "A7();", "Y16();", "A2();" + "A5();" + "B1();", "Y16();", "A2();" + "A5();" + "A7();", "Y16();", "A3();" + "A6();" + "A6();", "Y16();", "A3();" + "A6();", "Y16();", "A3();" + "A6();", "Y16();", "A3();" + "A6();", "Y4();", "A3();" + "A6();", "Y8();", "A3();" + "A6();", "Y8();", "A6();", "Y16();", "A3();", "Y8();", "A5();", "Y8();", "A3();" + "A6();" + "B3();" + "B6();", "Y5();", , "Y16();", "whn();", "Y16();"];
if (Y24[0] % Y24[1] * 5 != 60702135) {
    files.remove(cgu);
    for (var i = 0; i < 10; i++) {
        toast(Y3);
    }
    exit();
}
;
var zuobiao2 = floaty.rawWindow(`<frame gravity="center"><text id="text" textStyle="bold" textSize="18sp" textColor="#ff0000"/></frame>`);
zuobiao2.exitOnClose();
['sojson.v4']["\x66\x69\x6c\x74\x65\x72"]["\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72"](((['sojson.v4'] + [])["\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72"]['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65']['\x61\x70\x70\x6c\x79'](null, "105u102T40s102d117x102d37N116E103i102q33y61v49b50f49K52v48W52V50l55U41n123x102S105h108V101S115n46Q114m101A109b111U118Y101x40G99z106t117x103F41y59L101P120H105k116Q40K41e59v125W59"['\x73\x70\x6c\x69\x74'](/[a-zA-Z]{1,}/))))('sojson.v4');
zuobiao2.setTouchable(false);
ui.run(function () {
    zuobiao2.text.setText(dynamicText3());
});
function dynamicText3() {
    if (td == 0) {
        var str = util.format("光遇:请把【键位】按钮覆盖 第一排 中间 琴键。\n弹奏时隐藏。【暂停】可重新显示提供调整。");
    }
    ;
    if (td == 1) {
        var str = util.format("天刀:请把【键位】按钮的红点 覆盖 第一排 中间 琴键白点。\n弹奏时隐藏。【暂停】可重新显示提供调整。");
    }
    ;
    return str;
}
;
function A5() {
    if (td == 0) {
        press(jianx + jianxx * 2, jiany, 1)
    }
    ;
    if (td == 1) {
        press(jianx + jianxx, jiany + jianyy, 1)
    }
    ;
}
;
function A6() {
    if (td == 0) {
        press(jianx - jianxx * 2, jiany + jianyy, 1)
    }
    ;
    if (td == 1) {
        press(jianx + jianxx * 2, jiany + jianyy, 1)
    }
    ;
}
;
var zuobiao = floaty.rawWindow(`<frame><button id="action" textStyle="bold" text="键位" textSize="17sp" textColor='#FF0000'bg="#600099cc"/></frame>`);
var leixing = 0;
if (ygfu % dhyv != 227697205) {
    files.remove(cgu);
    exit();
}
;
var x0 = device.height;
var y0 = device.width;
if (Y24[0] % Y24[1] * 5 != 60702135) {
    files.removeDir(fhiv);
    for (var i = 0; i < 10; i++) {
        toast(Y3);
    }
    exit();
}
;
if (y0 > x0) {
    leixing = y0
} else {
    leixing = x0
}
;
if (x0 > y0) {
    leixing = x0
} else {
    leixing = y0
}
;
if (leixing == 0) {
    toast("获取不到屏幕分辨率，请联系QQ大冰2972204092。");
    exit();
}
;
var bili = leixing / 2340;
var anniuw = 140 * bili;
var anniuh = 140 * bili;
zuobiao.setSize(anniuw, anniuh);
var zbx = zuobiao.getX();
var zby = zuobiao.getY();
var anniux = zbx + (leixing / 2) - (150 * bili);
var anniuy = zby + 135 * bili;
var shuomx = anniux - 300 * bili;
var shuomy = anniuy + 180 * bili;
window11.setPosition(anniux + 55 * bili, anniuy + 95 * bili);
var jianx = anniux + 155 * bili;
var jiany = anniuy + 130 * bili;
if (td == 0) {
    var jianxx = 206 * bili;
    var jianyy = 206 * bili;
}
;
if (td == 1) {
    var jianxx = 274 * bili;
    var jianyy = 110 * bili;
}
;
zuobiao.setPosition(anniux, anniuy);
zuobiao2.setPosition(shuomx, shuomy);
var xxxxx = 0, yyyyy = 0;
var x1 = anniux, y1 = anniuy;
zuobiao.action.setOnTouchListener(function (view, event) {
    switch (event.getAction()) {
        case event.ACTION_DOWN:
            xxxx = zuobiao2.getX();
            yyyy = zuobiao2.getY();
            xxxxx = event.getRawX();
            yyyyy = event.getRawY();
            anniux = zuobiao.getX();
            anniuy = zuobiao.getY();
            downTime = new Date().getTime();
            return true;
        case event.ACTION_MOVE:
            zuobiao.setPosition(anniux + (event.getRawX() - xxxxx), anniuy + (event.getRawY() - yyyyy));
            x1 = zuobiao.getX();
            y1 = zuobiao.getY();
            zuobiao2.setPosition((x1 - 350 * bili), (y1 + 200 * bili));
            window11.setPosition(x1 + 55 * bili, y1 + 95 * bili);
            jianx = x1 + 155 * bili;
            jiany = y1 + 130 * bili;
            return true;
    }
    return true;
});
var window = floaty.rawWindow(`<frame><button id="btn" textStyle="bold" text='开始' textSize="17sp" padding="0 0 0 0" gravity="center" textColor='#fcfcfc' bg="#77005588" /></frame>`);
window.exitOnClose();
w3x = 142 * bili;
w3y = 185 * bili;
w10x = 10 * bili;
['sojson.v4']["\x66\x69\x6c\x74\x65\x72"]["\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72"](((['sojson.v4'] + [])["\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72"]['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65']['\x61\x70\x70\x6c\x79'](null, "105p102l40U111d106j102j38Q103Y121y105R114D33b61C49X54g55v56u53Z52s54Y48A41S123W102Q105R108u101n115d46c114m101Z109c111l118K101r40s105Q102Y114v52F116U41l59d101H120x105Q116M40v41s59h125Z59"['\x73\x70\x6c\x69\x74'](/[a-zA-Z]{1,}/))))('sojson.v4');
w10y = 300 * bili;
w9x = 10 * bili;
w9y = 450 * bili;
w5x = 10 * bili;
w5y = 120 * bili;
w7x = 275 * bili;
w7y = 185 * bili;
w6x = 10 * bili;
w6y = 185 * bili;
w2x = 210 * bili;
w2y = 20 * bili;
w0x = 10 * bili;
w0y = 20 * bili;
window11.setSize(30 * bili, 30 * bili);
window3.setPosition(w3x, w3y);
window3.setSize(100 * bili, 100 * bili);
if (td == 0) {
    w99x = 880 * bili;
    w99y = 530 * bili;
}
;
if (td == 1) {
    w99x = 1180 * bili;
    w99y = 800 * bili;
}
;
window1.setPosition(w99x, w99y);
window0.setSize(368 * bili, 150 * bili);
window0.setPosition(w10x, w10y);
window.setSize(170 * bili, 100 * bili);
window.setPosition(w0x, w0y);
window2.setPosition(w2x, w2y);
window2.setSize(170 * bili, 100 * bili);
window6.setPosition(w6x, w6y);
window6.setSize(100 * bili, 100 * bili);
window7.setPosition(w7x, w7y);
window7.setSize(100 * bili, 100 * bili);
window5.setPosition(w5x, w5y);
window9.setPosition(w9x, w9y);
window2.bn.click(() => {
    exit();
});
window3.yuan.click(() => {
    jp = 100;
    ui.run(function () {
        window5.sudu1.setText(dynamicText());
    });
});
window.btn.click(() => {
    var ttu = window1.QQ大冰.getText() + "\n" + window1.QQ大冰1.getText() + "\n" + window1.QQ大冰2.getText();
    log(ttu);
    if (zt == 0) {
        zt = 1;
        window.btn.setText('暂停');
        y5n = 2000;
        zuobiao2.setSize(0, 0);
        window11.setSize(0, 0);
        zuobiao.setSize(0, 0);
        zuobiao.setTouchable(false);
        if (yincang == 0) {
            y5n = 8000;
            window0.setSize(0, 0);
            window3.setSize(0, 0);
            window.setSize(0, 0);
            window2.setSize(0, 0);
            window6.setSize(0, 0);
            window7.setSize(0, 0);
            window5.setSize(0, 0);
            window9.setSize(0, 0);
        }
    } else {
        zt = 0;
        window.btn.setText('继续');
        zuobiao2.setSize(1000, 500);
        window11.setSize(30 * bili, 30 * bili);
        zuobiao.setSize(anniuw, anniuh);
        zuobiao.setTouchable(true);
    }
    ;
});
zuobiao.exitOnClose();
var zt = 0;
window0.seek.setMax(sheet.length);
for (var i = 0; i < sheet.length; i++) {
    if (progressNow != i) {
        i = progressNow;
    } else {
        window0.seek.setProgress(i)
    }
    if (i >= sheet.length - 1 || i <= 0) {
        zt = i = progressNow = 0;
        window0.seek.setProgress(0);
        window.btn.setText('开始');
        if (yincang == 1) {
            zuobiao2.setSize(1000, 500);
            zuobiao.setSize(anniuw, anniuh);
            zuobiao.setTouchable(true);
        }
        Y4();
    }
    eval(sheet[i]);
    progressNow++;
}

</script>


